今天是鐵人賽最後一天
我把之前所整理的資料來源一併附上
有些功能其實已經想好大概怎麼實現了,但在30天內其實有點趕所以我沒放上
像是將訊息透過詞向量的方式進行主題分類並推薦該主題的攻略網站
然後這是我的github連結
目前程式碼還在整理中,會不定時更新~
如果有人玩FF14剛好是在Gungnir伺服器的話,也歡迎來我們公會discord串場,不是的話好像也沒關係~
https://github.com/thewakingsands/ffxiv-datamining-cn
https://github.com/xivapi/ffxiv-datamining/tree/master/research
https://githubmemory.com/repo/karashiiro/xiv-resources
https://ff14.org/topic/relic.htm
https://kknews.cc/zh-tw/home/qn6p4pg.html
Discord Commands: List of the most useful Discord commands and how to use them
【Proladon】如何看懂官方 Discord API 文件 (Python)
https://realpython.com/how-to-make-a-discord-bot-python/
embed
https://python.plainenglish.io/send-an-embed-with-a-discord-bot-in-python-61d34c711046
om_member_join問題
https://www.coder.work/article/5001071
reply user message
https://github.com/Rapptz/discord.py/blob/master/examples/reply.py
按鈕樣板
https://stackoverflow.com/questions/67722188/add-button-components-to-a-message-discord-py
https://github.com/xivapi/xivapi-py
https://xivapi.com/docs
https://blog.csdn.net/Airstudy/article/details/112506317?utm_medium=distribute.pc_r[…]efault~baidujs_title~default-0.control&spm=1001.2101.3001.4242
import ahocorasick
def build_actree(wordlist):
actree = ahocorasick.Automaton()
for index,word in enumerate(wordlist):
actree.add_word(str(word), (index, str(word)))
actree.make_automaton()
return actree
if __name__ == '__main__':
#招待碼
test_list = ["坐騎","任務","軍團"]
send = "請問軍團相關資訊"
actree = build_actree(wordlist=test_list)
send_list = [i[1][1] for i in actree.iter(send)]
串universalis API寫法
https://gitlab.com/omniowl-public/borel/-/blob/master/market_board.py
API資料return結果(json格式)
12531為物品ID
https://universalis.app/api/Elemental/12531?entries=5
https://www.kaggle.com/jerrykuo7727/word2vec
感謝各位有在看我文章的人,明年如果再被抓去參加鐵人賽的話再見啦^^